<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改等权指数')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-jslIndex-edit" th:object="${bondCbIndexJsl}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">股票：</label>
                <div class="col-sm-8">
                    <input name="symbol" th:field="*{symbol}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">操作时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="opertime" th:value="${#dates.format(bondCbIndexJsl.opertime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" required>
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">price_dt：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="field0" th:value="${#dates.format(bondCbIndexJsl.field0, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">price：</label>
                <div class="col-sm-8">
                    <input name="field1" th:field="*{field1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">amount：</label>
                <div class="col-sm-8">
                    <input name="field2" th:field="*{field2}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">volume：</label>
                <div class="col-sm-8">
                    <input name="field3" th:field="*{field3}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">count：</label>
                <div class="col-sm-8">
                    <input name="field4" th:field="*{field4}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">increase_val：</label>
                <div class="col-sm-8">
                    <input name="field5" th:field="*{field5}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">increase_rt：</label>
                <div class="col-sm-8">
                    <input name="field6" th:field="*{field6}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">avg_price：</label>
                <div class="col-sm-8">
                    <input name="field7" th:field="*{field7}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">mid_price：</label>
                <div class="col-sm-8">
                    <input name="field8" th:field="*{field8}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">mid_convert_value：</label>
                <div class="col-sm-8">
                    <input name="field9" th:field="*{field9}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">avg_dblow：</label>
                <div class="col-sm-8">
                    <input name="field10" th:field="*{field10}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">avg_premium_rt：</label>
                <div class="col-sm-8">
                    <input name="field11" th:field="*{field11}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">mid_premium_rt：</label>
                <div class="col-sm-8">
                    <input name="field12" th:field="*{field12}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">avg_ytm_rt：</label>
                <div class="col-sm-8">
                    <input name="field13" th:field="*{field13}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">turnover_rt：</label>
                <div class="col-sm-8">
                    <input name="field14" th:field="*{field14}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">price_90：</label>
                <div class="col-sm-8">
                    <input name="field15" th:field="*{field15}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">price_90_100：</label>
                <div class="col-sm-8">
                    <input name="field16" th:field="*{field16}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">price_100_110：</label>
                <div class="col-sm-8">
                    <input name="field17" th:field="*{field17}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">price_110_120：</label>
                <div class="col-sm-8">
                    <input name="field18" th:field="*{field18}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">price_120_130：</label>
                <div class="col-sm-8">
                    <input name="field19" th:field="*{field19}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">price_130：</label>
                <div class="col-sm-8">
                    <input name="field20" th:field="*{field20}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">increase_rt_90：</label>
                <div class="col-sm-8">
                    <input name="field21" th:field="*{field21}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">increase_rt_90_100：</label>
                <div class="col-sm-8">
                    <input name="field22" th:field="*{field22}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">increase_rt_100_110：</label>
                <div class="col-sm-8">
                    <input name="field23" th:field="*{field23}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">increase_rt_110_120：</label>
                <div class="col-sm-8">
                    <input name="field24" th:field="*{field24}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">increase_rt_120_130：</label>
                <div class="col-sm-8">
                    <input name="field25" th:field="*{field25}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">increase_rt_130：</label>
                <div class="col-sm-8">
                    <input name="field26" th:field="*{field26}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">idx_price：</label>
                <div class="col-sm-8">
                    <input name="field27" th:field="*{field27}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">idx_increase_rt：</label>
                <div class="col-sm-8">
                    <input name="field28" th:field="*{field28}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "data/jslIndex";
        $("#form-jslIndex-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-jslIndex-edit').serialize());
            }
        }

        $("input[name='opertime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='field0']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>